<!DOCTYPE html>
<html lang="en">
<head>
<title>SChannel helper: SChannel.Utils: Record TSessionData</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.16.0">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<div class="container"><div class="navigation">
<h2><a href="index.html">SChannel helper</a></h2><ul><li><a href="AllUnits.html">Units</a></li><li><a href="ClassHierarchy.html">Class Hierarchy</a></li><li><a href="AllClasses.html">Classes, Interfaces, Objects and Records</a></li><li><a href="AllTypes.html">Types</a></li><li><a href="AllVariables.html">Variables</a></li><li><a href="AllConstants.html">Constants</a></li><li><a href="AllFunctions.html">Functions and Procedures</a></li><li><a href="AllIdentifiers.html">Identifiers</a></li></ul></div><div class="content">
<span id="TSessionData"></span><h1 class="cio">Record TSessionData</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section">Hierarchy</div><div class="one_section"><a class="section" href="#PasDoc-Fields">Fields</a></div><div class="one_section">Methods</div><div class="one_section">Properties</div></div>
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
<p class="unitlink">
<a href="SChannel.Utils.html">SChannel.Utils</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TSessionData = record</code></p>
<h2 class="description">Description</h2>
<p>
Data related to a session. Mainly meaningful during handshake and making no effect when a connection is established.</p>
<h2 class="overview">Overview</h2>
<span id="PasDoc-Fields"></span><h3 class="summary">Fields</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><strong><a href="SChannel.Utils.TSessionData.html#ServerName">ServerName</a></strong>: string;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><strong><a href="SChannel.Utils.TSessionData.html#Flags">Flags</a></strong>: <a href="SChannel.Utils.html#TSessionFlags">TSessionFlags</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><strong><a href="SChannel.Utils.TSessionData.html#SSPIFlags">SSPIFlags</a></strong>: DWORD;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><strong><a href="SChannel.Utils.TSessionData.html#SharedCreds">SharedCreds</a></strong>: <a href="SChannel.Utils.ISharedSessionCreds.html">ISharedSessionCreds</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><strong><a href="SChannel.Utils.TSessionData.html#SessionCreds">SessionCreds</a></strong>: <a href="SChannel.Utils.TSessionCreds.html">TSessionCreds</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><strong><a href="SChannel.Utils.TSessionData.html#TrustedCerts">TrustedCerts</a></strong>: <a href="SChannel.Utils.TTrustedCerts.html">TTrustedCerts</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><strong><a href="SChannel.Utils.TSessionData.html#CertCheckIgnoreFlags">CertCheckIgnoreFlags</a></strong>: <a href="SChannel.Utils.html#TCertCheckIgnoreFlags">TCertCheckIgnoreFlags</a>;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Fields</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="ServerName"></span><code><strong>ServerName</strong>: string;</code></td>
</tr>
<tr><td colspan="2">
<p>
Server name that a session is linked to. Must be non-empty.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Flags"></span><code><strong>Flags</strong>: <a href="SChannel.Utils.html#TSessionFlags">TSessionFlags</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Options</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="SSPIFlags"></span><code><strong>SSPIFlags</strong>: DWORD;</code></td>
</tr>
<tr><td colspan="2">
<p>
User-defined SSPI-specific flags to use in <code>InitializeSecurityContextW</code> call. Default value <code><a class="normal" href="SChannel.Utils.html#SSPI_FLAGS">SSPI_FLAGS</a></code> is used if this value is <code>0</code>. \ <strong>Warning</strong>: <code>ISC_REQ_ALLOCATE_MEMORY</code> flag is supposed to be always enabled, otherwise correct work is not guaranteed</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="SharedCreds"></span><code><strong>SharedCreds</strong>: <a href="SChannel.Utils.ISharedSessionCreds.html">ISharedSessionCreds</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Pointer to credentials shared between multiple sessions</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="SessionCreds"></span><code><strong>SessionCreds</strong>: <a href="SChannel.Utils.TSessionCreds.html">TSessionCreds</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Non-shared session credentials. It is used if <code><a class="normal" href="SChannel.Utils.TSessionData.html#SharedCreds">SharedCreds</a></code> is <code>Nil</code></p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="TrustedCerts"></span><code><strong>TrustedCerts</strong>: <a href="SChannel.Utils.TTrustedCerts.html">TTrustedCerts</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Pointer to list of trusted certs. The object could be shared or personal to a client but it has to be created and disposed manually. If not empty, auto validation of certs is disabled (<code><a class="normal" href="SChannel.Utils.html#sfNoServerVerify">sfNoServerVerify</a></code> is included in <code>Flags</code> property) at first call to <code><a class="normal" href="SChannel.Utils.html#DoClientHandshake">DoClientHandshake</a></code>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="CertCheckIgnoreFlags"></span><code><strong>CertCheckIgnoreFlags</strong>: <a href="SChannel.Utils.html#TCertCheckIgnoreFlags">TCertCheckIgnoreFlags</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Set of cert aspects to ignore when checking manually via <code><a class="normal" href="SChannel.Utils.html#CheckServerCert">CheckServerCert</a></code>. If not empty, auto validation of certs is disabled (<code><a class="normal" href="SChannel.Utils.html#sfNoServerVerify">sfNoServerVerify</a></code> is included in <code>Flags</code> property) at first call to <code><a class="normal" href="SChannel.Utils.html#DoClientHandshake">DoClientHandshake</a></code>.</p>
</td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.16.0</a>. </em>
</span>
</div></div></body></html>
